import {Builder} from "selenium-webdriver";
import {ServiceBuilder} from "selenium-webdriver/chrome";

// const chrome = require('selenium-webdriver/chrome')
// const service = new chrome.ServiceBuilder(opt_exe='./chromedriver.exe')
const service = new ServiceBuilder("chromedriver.exe")
export class brw{
    public static driver = new Builder()
        .forBrowser('chrome')
        .setChromeService(service)
        .build()
}
